#pragma once
#include <string>
#include <iostream>
using namespace std;
class multimedia
{
private:
	string name;
	string type;
	int year;

public:
	multimedia();
	multimedia(string n, string t, int y);

	void ReadFromConsole();
	void WriteToConsole();

	string GetName() { return name;}
	void SetName (string n) {name=n;}
	string GetType() { return type;}
	void SetType (string t) {type=t;}
	int GetYear() { return year;}
	void SetYear (int y) {year=y;}

	~multimedia();
};

